package com.nativetalk.service.four.reserve;

import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.member.TdNtMember;
import com.nativetalk.bean.teacher.TdNtTeacherResult;
import com.nativetalk.dto.RecentlyAppointmentResponse;

import java.util.TimeZone;

/**
 * Created by lizhun on 2016/11/1.
 * Modified by wangzheng on 2017/02/17
 */
public interface FourReserveService {
    /**
     * @Purpose  判断是否预约过体验预约
     * @version  4.0
     * @author   lizhun
     * @param    tdNtMember
     * @return   RetInfo
     */
    public RetInfo search(TdNtMember tdNtMember);

    /**
     * @Purpose  查找老师可预约时间
     * @version  4.1
     * @author   wanzheng
     * @param    tea_id
     * @return   RetInfo
     */
    public RetInfo findTeacherReserveTime(int tea_id, TdNtMember tdNtMember, int version, String client_type, TimeZone clientTimeZoneId);

    public RetInfo findTeacherReserveCourse(int tea_id,TdNtMember tdNtMember,String date,int version,String client_type);


    RecentlyAppointmentResponse findRecentlyAppointment(TdNtTeacherResult teacher);
}
